﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Marmat.Forms.Skin
{
    partial class ScrollControl
    {
        /// <summary>
        /// 是否需要序列化  BorderColor 属性
        /// </summary>
        /// <returns></returns>
        protected bool ShouldSerializeBorderColor()
        {
            return !(this.borderColor == default);
        }

        /// <summary>
        ///  将 BorderColor 属性重置为其默认值。。
        /// </summary>
        protected void ResetBorderColor()
        {
            this.borderColor = default;
        }    
    }
}
